package buildModel;

import java.util.ArrayList;
import java.util.List;

public class Director {

    private List<String> grow=new ArrayList<String>();

    public Fruits getAppleA(){
        grow.clear();
        grow.add("color");
        grow.add("eat");
        AppleBuild build=new AppleBuild();
       build.setGrow(grow);
       return build.getFruits();
    }

    public Fruits getAppleB(){
        grow.clear();
        grow.add("eat");
        grow.add("color");
        AppleBuild build=new AppleBuild();
        build.setGrow(grow);
        return build.getFruits();
    }
}
